<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'AddCategory.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="/sbm/css/screen.css" rel="stylesheet" type="text/css">

  </head>
  
  <body>
    <s:form action="addcategory" method="post" enctype="multipart/form-data"
		name="myform">
		<table width="600px" align="center" class="class1">
			<tr>
				<td colspan="3" align="right"><span class="title">新增一种类别</span>
				</td>
			</tr>
			<tr>
				<td width="10%">&nbsp;</td>
				<td>
					<table>
						<tr>
							<td width="30%" height="38" align="left">一级名称</td>
							<td><s:textfield name="catbean.first" /></td>
						</tr>
						<tr>

							<td align="left">二级名称</td>
							<td><s:textfield name="catbean.second" /></td>
						</tr>
					</table>
				</td>
				<td width="20%">&nbsp;</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;<input name="Submit" type="submit"
					value="确 认" /></td>
			</tr>
			<tr>
				<td height="35" colspan="2" class="top_hui_text" align="center"
					colspan="2"><span class="errorAndmes"><s:actionerror
							cssStyle="font-family: Arial,Helvetica,sans-serif" /> </span></td>
			</tr>
		</table>
	</s:form>
  </body>
</html>
